import Cookies from 'js-cookie'
// 设置cookies
const TokenKey = 'hr_token_key'

// 获取
export function getToken() {
  return Cookies.get(TokenKey)
}

// 设置
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

// 移除
export function removeToken() {
  return Cookies.remove(TokenKey)
}

